package com.ruoyi.edu.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程简介业务对象 edu_course_description
 *
 * @author ruoyi
 * @date 2022-08-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EduCourseDescriptionBo extends BaseEntity {

    /**
     * 课程ID
     */
    @NotBlank(message = "课程ID不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 课程简介
     */
    @NotBlank(message = "课程简介不能为空", groups = { AddGroup.class, EditGroup.class })
    private String description;


}
